[IA64] Use16M page size in identity mapping
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 26 Apr 2006 04:10:05 +0000 (22:10 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Wed, 26 Apr 2006 04:10:05 +0000 (22:10 -0600)
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
xen/arch/ia64/vmx/vmx_ivt.S

index cafc666fa2c156b4f991cd82ca05f371915661ce..2418fcf2f6cd8f882fca504f4ad25f28510b854f 100644 (file)
@@ -283,8 +283,13 @@ vmx_alt_itlb_miss_1:
        and r18=0x10,r18        // bit 4=address-bit(61)
        or r19=r17,r19          // insert PTE control bits into r19
        ;;
+       movl r20=IA64_GRANULE_SHIFT<<2
        or r19=r19,r18          // set bit 4 (uncached) if the access was to region 6
        ;;
+       mov cr.itir=r20
+       ;;
+       srlz.i
+       ;;
        itc.i r19               // insert the TLB entry
        mov pr=r31,-1
        rfi
@@ -332,6 +337,11 @@ vmx_alt_dtlb_miss_1:
        ;;
        or r19=r19,r18          // set bit 4 (uncached) if the access was to region 6
 (p6) mov cr.ipsr=r24
+       movl r20=IA64_GRANULE_SHIFT<<2
+       ;;
+       mov cr.itir=r20
+       ;;
+       srlz.i
        ;;
 (p7) itc.d r19         // insert the TLB entry
        mov pr=r31,-1